
#ifndef MyPortTalk
#define MyPortTalk

#ifndef WINAPI
#include <windows.h>
#endif

#ifdef __cplusplus
extern "C"{
#endif

	BOOL WINAPI OpenPortTalk(void);
	void WINAPI ClosePortTalk(void);

	void WINAPI Outp(WORD PortAddress,UCHAR byte);
	UCHAR WINAPI Inp(WORD PortAddress);

	void WINAPI Outpw(WORD PortAddress, WORD word);
	WORD WINAPI Inpw(WORD PortAddress);

	void WINAPI Outpd(WORD PortAddress, DWORD dwWord);
	DWORD WINAPI Inpd(WORD PortAddress);

	
	BOOL InstallPortTalkDriver(void);
	BOOL StartPortTalkDriver(void);

	BOOL WINAPI IsWinNT(void);

#ifdef __cplusplus
}
#endif

#endif //#ifndef Cashdrawer